namespace ETestIT.Core
{
    using NHibernate.Validator.Constraints;
    using SharpArch.Core.DomainModel;

    public class User :Entity
    {
        public User()
        {
        }

        public User(string name, string password)
        {
            Name = name;
            Password = password;
        }

        [DomainSignature]
        [NotNullNotEmpty]
        public virtual string Name { get;  set; }

        [NotNullNotEmpty]
        public virtual string Password { get;  set; }
    }
}